package hzn.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.experimental.Accessors;

@Data//自动生成封装和toString和hashcode和equals
@Accessors(chain = true)//true的作用就是让set方法返回this
@NoArgsConstructor
@AllArgsConstructor//产生全部参数的构造器
public class Dept {
    Integer deptno;
    String dname;
    String db_source;
}
